<?php /* Smarty version 2.6.18, created on 2011-08-25 18:50:25
         compiled from default/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'default/index.tpl', 28, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/header.inc.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="content">
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/col.inc.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="a_R r">
            <div class="a_R_1 l">
                <div class="a_R_1_bt">
                    
                        使用技巧 > 使用前准备2
                    <div class="a_R_1_bt_r r">
                    </div>
    
    
                </div>




<?php unset($this->_sections['article']);
$this->_sections['article']['name'] = 'article';
$this->_sections['article']['loop'] = is_array($_loop=$this->_tpl_vars['recommends']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['article']['max'] = (int)10;
$this->_sections['article']['show'] = true;
if ($this->_sections['article']['max'] < 0)
    $this->_sections['article']['max'] = $this->_sections['article']['loop'];
$this->_sections['article']['step'] = 1;
$this->_sections['article']['start'] = $this->_sections['article']['step'] > 0 ? 0 : $this->_sections['article']['loop']-1;
if ($this->_sections['article']['show']) {
    $this->_sections['article']['total'] = min(ceil(($this->_sections['article']['step'] > 0 ? $this->_sections['article']['loop'] - $this->_sections['article']['start'] : $this->_sections['article']['start']+1)/abs($this->_sections['article']['step'])), $this->_sections['article']['max']);
    if ($this->_sections['article']['total'] == 0)
        $this->_sections['article']['show'] = false;
} else
    $this->_sections['article']['total'] = 0;
if ($this->_sections['article']['show']):

            for ($this->_sections['article']['index'] = $this->_sections['article']['start'], $this->_sections['article']['iteration'] = 1;
                 $this->_sections['article']['iteration'] <= $this->_sections['article']['total'];
                 $this->_sections['article']['index'] += $this->_sections['article']['step'], $this->_sections['article']['iteration']++):
$this->_sections['article']['rownum'] = $this->_sections['article']['iteration'];
$this->_sections['article']['index_prev'] = $this->_sections['article']['index'] - $this->_sections['article']['step'];
$this->_sections['article']['index_next'] = $this->_sections['article']['index'] + $this->_sections['article']['step'];
$this->_sections['article']['first']      = ($this->_sections['article']['iteration'] == 1);
$this->_sections['article']['last']       = ($this->_sections['article']['iteration'] == $this->_sections['article']['total']);
?>
<div class="u61" >
<span    class="u61_title" >
<a href="index.php?a=article&aid=<?php echo $this->_tpl_vars['recommends'][$this->_sections['article']['index']]['id']; ?>
">
<?php echo $this->_tpl_vars['recommends'][$this->_sections['article']['index']]['title']; ?>
 
</a>
</span>

<span class="u61_flag" >New</span>
<span  class="u61_date">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php echo ((is_array($_tmp=$this->_tpl_vars['recommends'][$this->_sections['article']['index']]['postTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
 </span>

</div>

<div class="u62" >

<p  class="u62_p"  >
<span  class="u62_tag" >
TAG : <?php echo $this->_tpl_vars['recommends'][$this->_sections['article']['index']]['keyword']; ?>
</span></p>

<p style="text-align:left;line-height:20px;">
<span  class="u62_con" >
<?php echo $this->_tpl_vars['recommends'][$this->_sections['article']['index']]['content']; ?>

</span>

</p>

</div>
               
    <?php endfor; else: ?>
    <?php endif; ?>
            </div>

            
   <div class="clear"> </div>
        </div>	
	
	
	

			
		</div>
		
		
		
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "default/footer.inc.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	

